Skip to content

feat(ui): dock the tool palette to the right edge with v1 card styling#13

Draft
dustenhubbard wants to merge 2 commits into
feat/ui-v1-lists-panelfrom
feat/ui-palette-right
Draft

feat(ui): dock the tool palette to the right edge with v1 card styling#13
dustenhubbard wants to merge 2 commits into
feat/ui-v1-lists-panelfrom
feat/ui-palette-right

Conversation

@dustenhubbard

Copy link
Copy Markdown
Owner

Move the floating mouse-mode palette into a rounded, translucent card
docked to the field's right edge, matching the v1 prototype: grouped
tools with thin dividers (navigate / cut / trace / annotate), an
active-tool accent state (accent fill + white icon + soft glow),
bottom-right keycap hints, and name + shortcut tooltips.

The card flips to the left edge when the left_handed option is set,
wired to the View-menu toggle; this also implements the toggleHandedness()
hook that checker.py already referenced. mode_x still records the docked
side so the field's corner-text painter keeps clear of the palette.

All tools, mouse-mode indices, keyboard shortcuts, and right-click dialogs
are preserved; the trace palette, increments, brightness/contrast, and
scale bar are untouched. theme.py gains per-scheme chrome tokens for the
card. Adds 16 headless tests covering structure, keycaps, the active
state, docking, and the left-handed flip.

Move the floating mouse-mode palette into a rounded, translucent card
docked to the field's right edge, matching the v1 prototype: grouped
tools with thin dividers (navigate / cut / trace / annotate), an
active-tool accent state (accent fill + white icon + soft glow),
bottom-right keycap hints, and name + shortcut tooltips.

The card flips to the left edge when the left_handed option is set,
wired to the View-menu toggle; this also implements the toggleHandedness()
hook that checker.py already referenced. mode_x still records the docked
side so the field's corner-text painter keeps clear of the palette.

All tools, mouse-mode indices, keyboard shortcuts, and right-click dialogs
are preserved; the trace palette, increments, brightness/contrast, and
scale bar are untouched. theme.py gains per-scheme chrome tokens for the
card. Adds 16 headless tests covering structure, keycaps, the active
state, docking, and the left-handed flip.
@dustenhubbard dustenhubbard added this to the v1.30.0 milestone Jul 4, 2026
…t/ui-palette-right

# Conflicts:
#	PyReconstruct/modules/gui/palette/mouse_palette.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant